home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
551-575
/
disk_562
/
intuisup
/
library
/
source.lzh
/
libinit.c
< prev
next >
Wrap
C/C++ Source or Header
|
1991-10-19
|
2KB
|
98 lines
/*************************************
* *
* Intuition Support v2.0 *
* by Torsten Jürgeleit in 05/91 *
* *
* Library init routines *
* *
*************************************/
/* Includes */
#include <exec/types.h>
#include <exec/nodes.h>
#include "intuisup.h"
/* Imports from startup code */
IMPORT struct Library *LibOpen(VOID);
IMPORT BPTR LibClose(VOID);
IMPORT BPTR LibExpunge(VOID);
IMPORT VOID LibNull(VOID);
/* Library function table -> needed in DataTable of startup code */
VOID *FuncTable[] = {
/* Standard system functions */
LibOpen,
LibClose,
LibExpunge,
LibNull,
/* Render functions */
IGetRenderInfo,
IFreeRenderInfo,
IOpenWindow,
IClearRenderWindow,
/* Text functions */
IDisplayTexts,
IPrintText,
IConvertUnsignedDec,
IConvertSignedDec,
IConvertHex,
IConvertBin,
/* Border functions */
IDisplayBorders,
IDrawBorder,
/* Gadget functions */
ICreateGadgets,
IFreeGadgets,
IDisplayGadgets,
IRefreshGadgets,
ISetGadgetAttributes,
IActivateInputGadget,
IGadgetAddress,
IRemoveGadgets,
IGetMsg,
IReplyMsg,
/* Menu functions */
ICreateMenu,
IAttachMenu,
IMenuItemAddress,
IRemoveMenu,
IFreeMenu,
/* End marker */
(VOID *)-1
};
/* Prototypes */
BOOL LibInit(VOID);
VOID LibFree(VOID);
/* Library specific init routine */
BOOL
LibInit(VOID)
{
return((BOOL)TRUE);
}
/* Library specific expunge routine */
VOID
LibFree(VOID)
{
}